<!DOCTYPE HTML>
<html lang = "en">
<head>
    <title>{{company_name}} Review</title>
    <meta charset = "UTF-8" />
    <link rel="stylesheet" href="{{theme_url}}/theme.css">
     <meta name="viewport" content="width=device-width,initial-scale=1">
    <script src="{{theme_url}}/js/modernizr-2.0.6.min.js"></script>
</head>
<body style="padding:0; margin:0;" class="wr_body">
<div class="wr_warper">
	<div class="wr_header">
		<div class="wr_logo">
                <?php
                /**
                 * If a logo exist, show tht one, otherwise make an h1 title based on
                 * the company name.
                 */
                ?>
                <?php if ($logo): ?>
                <img src="{{logo_url}}" />
                <?php else: ?>
                <h1>{{company_name}}</h1>
                <?php endif; ?>
            </div>
	</div>
    
   <div class="wr_form_warper">    
    	<div class="wr_form">
            <h2>Thank You!</h2>
        
            <p>
                {{thankyou_text}}
            </p>
    	
				<?php
                /**
                 * Display possible sharing links.
                 */
                ?>
				<?php if ($sharing): ?>
                    <h3>Share your review</h3>
                    {{share}}
                <?php endif; ?>
            
                <?php
                /**
                 * Add possible social links.
                 */
                ?>
                <?php if ($social): ?>
                    <h2>Follow Us</h2>
                    <?php if ($social_facebook): ?>
                        <a href="{{facebook_url}}"><img src="{{theme_url}}/img/facebook.png" /></a>
                    <?php endif; ?>
                    <?php if ($social_twitter): ?>
                        <a href="{{twitter_url}}"><img src="{{theme_url}}/img/twitter.png" /></a>
                    <?php endif; ?>
                    <?php if ($social_google): ?>
                        <a href="{{google_url}}"><img src="{{theme_url}}/img/google.png" /></a>
                    <?php endif; ?>
                <?php endif; ?>
                
                
                
                <?php
                /**
                 * If a logo exist, display it.
                 */
                ?>
                <div>
                <?php if ($coupon): ?>
                    <img src="{{coupon_url}}" />
                <?php endif; ?>
                </div>
		</div>
    </div>
    <div class="wr_footer_warper">
    	<div class="wr_footer">
            <p>
                <a href="{{company_url}}">Visit our website</a>
            </p>
        </div>    
    </div>
</div>
</body>
</html>
